package com.manong.led.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("led")
public class Led implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * led主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 设备Id
     */
    private String deviceId;

    /**
     * 几号灯
     */
    private String unit;

    /**
     * 控制开关
     */
    private String act;


}
